package chy.action;

import com.opensymphony.xwork2.ActionSupport;

import chy.entity.CheckResult;
import chy.entity.Employee;
import chy.service.CheckResultService;

public class CheckResultAction extends ActionSupport{
	private static final String SUCCESS = null;
	private CheckResult checkResult;
	private CheckResultService checkResultService;
	
	public String checkClaimVoucher() {
		checkResult.setCheckEmployee(this.getLoginEmployee());
		checkResultService.saveCheckResult(checkResult);
		return SUCCESS;
	}

	private Employee getLoginEmployee() {
		// TODO Auto-generated method stub
		return null;
	}

	public CheckResult getCheckResult() {
		return checkResult;
	}

	public void setCheckResult(CheckResult checkResult) {
		this.checkResult = checkResult;
	}

	public CheckResultService getCheckResultService() {
		return checkResultService;
	}

	public void setCheckResultService(CheckResultService checkResultService) {
		this.checkResultService = checkResultService;
	}
	
	
	
}
